#+TITLE: Dovecot
#+AUTHOR: Joshua Branson

Some interesting wiki pages:

https://doc.dovecot.org/configuration_manual/home_directories_for_virtual_users/#home-directories-for-virtual-users
Perhaps I should have virtual users that have a home directory like so:

/home/joshua@gnucode.me/
/home/james@gnucode.me/

or

/home/gnucode.me/joshua/
/home/gnu-hurd.com/joshua/

or

/var/mail/joshua@gnucode.me/
/var/mail/james@gnucode.me/

or

/var/mail/gnucode.me/joshua/
/var/mail/gnu-hurd.com/james/


https://doc.dovecot.org/configuration_manual/mail_location/

https://wiki.dovecot.org/MailLocation/Maildir

https://doc.dovecot.org/configuration_manual/mail_location/

Testing dovecot...is it running?

https://wiki.dovecot.org/TestInstallation#Check_that_it.27s_running

finding my mail

https://wiki.dovecot.org/FindMailLocation

quick config

https://doc.dovecot.org/configuration_manual/quick_configuration/#tldr-just-want-it-running

user databases..authenticating...

https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/#authentication-user-database


user_override

https://doc.dovecot.org/configuration_manual/authentication/passwd/#authentication-passwd

maildir configuration

https://doc.dovecot.org/configuration_manual/mail_location/Maildir/




nckx advice to me:

<jab> hey....so I'm running a local dovecot server...I've got it pointed to my
      local maildir at ~/.mail/dismail/   Dovecot is running, and I can
      connect and login as my user "joshua"...but my email address is
      "jbranso"...do I need to try logging in as "jbranso"?  [12:42]
<jab> to view my emails?

<nckx> jab: You can configure Dovecot any which way you want, you just have to
       keep the mapping straight.  See (at least) auth_username_format,
       auth_default_realm.  [12:58]



My current thoughts:

<jab> Hey dovecot people!
<jab> I'm trying to set up a locally running dovecot server for Emacs!
<jab> I've got isync delivering email to ~/.mail/dismail.de/   ...my email
      address is jbranso@dismail.de...    [14:11]
<jab> I log into dovecot via my system user joshua...
<jab> I don't think that dovecot realizes that when I log in as joshua, I'd
      like to see the emails from jbranso@dismail.de...
<jab> I suppose that I need to tweak that somehow...
<jab> I suppose that the easiest thing to do, is to set up a username and
      password for "jbranso@dismail.de"...  [14:13]
<jab> I can either make a system user for that, or use one of the other
      password mechanisms for dovecot.  I suppose I will try that other
      option.  Thanks for letting me think out loud!
<jab> it looks like I may want to use override_fields  [14:16]


dovecot logging:

https://doc.dovecot.org/admin_manual/logging/
